Skip to content

Conversation

@flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Jul 26, 2021

Next step for migrating away from options

@flaviendelangle flaviendelangle self-assigned this Jul 26, 2021
@flaviendelangle flaviendelangle marked this pull request as draft July 26, 2021 11:57
@flaviendelangle flaviendelangle changed the title [core] Use rootProps instead of options in Grid components except for… [core] Use rootProps instead of options in Grid components except for classes Jul 26, 2021
@flaviendelangle flaviendelangle added the internal Behind-the-scenes enhancement. Formerly called “core”. label Jul 26, 2021
@flaviendelangle flaviendelangle marked this pull request as ready for review July 26, 2021 12:12
@flaviendelangle flaviendelangle requested review from DanailH, m4theushw and oliviertassinari and removed request for m4theushw July 26, 2021 12:13
@flaviendelangle flaviendelangle requested a review from DanailH July 28, 2021 12:06
@DanailH DanailH requested a review from m4theushw July 30, 2021 11:11
import * as React from 'react';
import { GridRootPropsContext } from '../../context/GridRootPropsContext';

export const useGridRootProps = () => {
Copy link
Member

@DanailH DanailH Jul 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that is better. I added @m4theushw but other than that I'm ok with the change.

@flaviendelangle flaviendelangle merged commit 29a8ffc into mui:master Aug 5, 2021
@flaviendelangle flaviendelangle deleted the rootProps-components branch August 5, 2021 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants